<template>
  <v-card flat height="168">
    <v-spacer class="d-flex dialog-content">
      <v-col class="text"> Are you sure to delete this quotation? </v-col>
      <v-col class="text">
        {{ propItem.id }} {{ propItem.prospectName }}
      </v-col>
      <v-col>
        <v-btn
          width="32"
          height="32"
          color="#D9D9D9"
          fab
          elevation="0"
          class="send-btn ml-2"
          @click="deleteQuote"
        >
          <v-icon class="send-icon" color="#556282" small>mdi-delete</v-icon>
        </v-btn>
      </v-col>
    </v-spacer>
  </v-card>
</template>
<script lang="ts">
import { Vue, Component } from "vue-property-decorator";
@Component({
  props: {
    item: {
      type: Object,
      default: () => ({}),
    },
  },
})
export default class DeleteQuote extends Vue {
  get propItem() {
    return this.$props.item;
  }

  deleteQuote() {
    this.$emit("delete", this.propItem);
  }
}
</script>
<style lang="scss" scoped>
@import "@/components/Quotation/Dialog/Dialog.scss";
</style>
